.feedback-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    color: #6d6875; /* 莫兰迪灰紫色作为主要文字颜色 */
    font-size: 16px; /* 基础字体大小 */
}

body {
    background-color: #f5f7fa;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

.feedback-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    width: 120px;
    transition: all 0.3s ease;
    background-color: white;
}

.tab:hover {
    background-color: #f8f9fa;
}

.tab img {
    width: 24px;
    height: 24px;
    margin-bottom: 0.5rem;
}

.rating-section {
    margin: 2rem 0;
}

.star-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.star {
    font-size: 28px; /* 放大星星 */
    cursor: pointer;
    color: #ddd;
    transition: color 0.2s ease;
}

.star.active {
    color: #b5838d; /* 莫兰迪粉红色用于激活的星星 */
}

.rating-value {
    margin-left: 1rem;
    color: #666;
    font-size: 18px; /* 放大评分值 */
}

.feedback-detail textarea {
    width: 100%;
    height: 150px;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    resize: none;
    margin: 1rem 0;
    font-size: 16px; /* 放大文本区域字体 */
}

.word-count {
    text-align: right;
    color: #9a9a9a; /* 中浅灰色用于字数统计 */
    font-size: 0.9rem;
}

.contact-info {
    margin: 2rem 0;
}

.form-group {
    margin: 1rem 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #7d7c84; /* 中灰色用于表单标签 */
    font-size: 1.1rem; /* 放大表单标签 */
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px; /* 放大输入框字体 */
}

.submit-btn {
    background-color: #b5838d; /* 莫兰迪粉红色用于按钮 */
    color: white;
    padding: 1.2rem 3.5rem; /* 增加按钮内边距 */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    margin: 2rem auto 0;
    font-size: 1.2rem; /* 放大按钮文字 */
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #8a8a6a; /* 深一点的灰绿色用于悬停状态 */
}

.feedback-container h1 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 2rem;
    color: #5f5c6d; /* 深灰紫色用于标题 */
    font-size: 2.4rem; /* 放大主标题 */
    font-weight: bold;
}

/* 弹窗样式 */
.feedback-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.feedback-modal.show {
    opacity: 1;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
}

.feedback-modal.show .modal-content {
    transform: translateY(0);
}

.modal-icon {
    width: 60px;
    height: 60px;
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 1rem;
}

.modal-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.modal-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.modal-close {
    background-color: #3454d1;
    color: white;
    border: none;
    padding: 0.5rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: #2842b8;
}

/* 失败提示样式 */
.modal-icon.failure {
    background-color: #ff4d4f;  /* 红色背景 */
    color: white;
}

.error-list {
    text-align: left;
    margin: 20px 0;
    color: #ff4d4f;
    max-height: 200px;
    overflow-y: auto;
}

.error-list p {
    margin: 8px 0;
    padding-left: 20px;
    position: relative;
}

.error-list p:before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #ff4d4f;
}

.rating-section h3, .feedback-detail h3, .contact-info h3 {
    color: #7d7c84; /* 中灰色用于小标题 */
    margin-bottom: 1.2rem;
    font-size: 1.4rem; /* 放大小标题 */
}

.rating-section h3 i, .feedback-detail h3 i, .contact-info h3 i {
    color: #b5838d; /* 莫兰迪粉红色用于图标 */
    margin-right: 10px;
    font-size: 1.6rem; /* 放大图标 */
}

textarea::placeholder, input::placeholder {
    color: #b8b8b8; /* 浅灰色用于占位符文本 */
}
/* 模态窗口样式 */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            overflow: auto;
        }

        .modal-content {
            position: relative;
            background-color: #fff;
            margin: 10% auto;
            padding: 30px;
            width: 80%;
            max-width: 600px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            animation: modalFadeIn 0.3s;
        }

        .close-button {
            position: absolute;
            top: 15px;
            right: 20px;
            color: #aaa;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            transition: color 0.2s;
        }

        .close-button:hover {
            color: #333;
        }

        @keyframes modalFadeIn {
            from {opacity: 0; transform: translateY(-20px);}
            to {opacity: 1; transform: translateY(0);}
        }
        /* 新的模态窗口样式 */
        .user-modal-content {
            background: linear-gradient(145deg, #ffffff, #f5f7ff);
            border-radius: 20px;
            padding: 30px;
            max-width: 400px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            border: none;
        }

        .user-profile-header {
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 2px solid #f0f0f0;
        }

        .user-avatar {
            width: 100px;
            height: 100px;
            margin: 0 auto 15px;
            border-radius: 50%;
            overflow: hidden;
            border: 4px solid #3454d1;
            box-shadow: 0 5px 15px rgba(52, 84, 209, 0.2);
        }

        .user-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .user-details {
            padding: 0 10px;
        }

        .detail-item {
            display: flex;
            align-items: center;
            margin: 20px 0;
            padding: 15px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            transition: transform 0.2s ease;
        }

        .detail-item:hover {
            transform: translateX(5px);
        }

        .detail-icon {
            width: 40px;
            height: 40px;
            background: #f0f4ff;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            color: #3454d1;
            font-size: 1.2em;
        }

        .detail-info {
            flex: 1;
        }

        .detail-info label {
            display: block;
            font-size: 0.9em;
            color: #666;
            margin-bottom: 4px;
        }

        .detail-info span {
            display: block;
            color: #333;
            font-size: 1.1em;
            font-weight: 500;
        }

        .close-button {
            position: absolute;
            right: 20px;
            top: 20px;
            font-size: 24px;
            color: #666;
            cursor: pointer;
            transition: color 0.2s ease;
        }

        .close-button:hover {
            color: #3454d1;
        }

        /* 添加动画效果 */
        @keyframes slideIn {
            from {
                transform: translateY(-20px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .modal-content {
            animation: slideIn 0.3s ease-out;
        }

        /* 退出按钮样式 */
        .logout-section {
            margin-top: 30px;
            text-align: center;
            padding-top: 20px;
            border-top: 2px solid #f0f0f0;
        }

        .logout-btn {
            background-color: #ff4d4f;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1em;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin: 0 auto;
            transition: all 0.3s ease;
        }

        .logout-btn:hover {
            background-color: #ff7875;
            transform: translateY(-2px);
            box-shadow: 0 2px 8px rgba(255, 77, 79, 0.2);
        }

        .logout-btn i {
            font-size: 1.1em;
        }

        /* 消息提示样式 */
        .message-toast {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%) translateY(-100%);
            background-color: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 12px 24px;
            border-radius: 8px;
            z-index: 2000;
            transition: transform 0.3s ease;
        }

        .message-toast.show {
            transform: translateX(-50%) translateY(0);
        }

        /* Hero Section 样式 */
        .hero-title {
            font-size: 3.5em;
            line-height: 1.2;
            margin-bottom: 20px;
        }

        .main-title {
            white-space: nowrap;  /* 防止文字换行 */
            display: block;  /* 确保标题独占一行 */
        }

        .highlight {
            display: block;
            color: #3454d1;
            font-size: 0.7em;
            margin-top: 10px;  /* 增加与主标题的间距 */
        }

        .hero-description {
            font-size: 1.2em;
            line-height: 1.6;
            color: #666;
            margin-bottom: 30px;
        }

        .desc-line {
            display: block;
            white-space: nowrap;  /* 防止文字换行 */
            margin-bottom: 10px;  /* 两行之间的间距 */
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
            margin-top: 40px;
        }

        .primary-btn, .secondary-btn {
            padding: 15px 30px;
            border-radius: 30px;
            font-size: 1.1em;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: all 0.3s ease;
        }

        .primary-btn {
            background: #3454d1;
            color: white;
            border: none;
        }

        .secondary-btn {
            background: white;
            color: #3454d1;
            border: 2px solid #3454d1;
        }

        .floating-elements {
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .float-item {
            position: absolute;
            background: white;
            padding: 15px 25px;
            border-radius: 20px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            gap: 10px;
            animation: float 3s ease-in-out infinite;
            animation-delay: var(--delay);
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }
